RUnit - A Unit Test Framework for R
نویسندگان
چکیده
Software development for production systems presents a challenge to the development team as the quality of the coded package(s) has to be constantly monitored and verified. We present a generic approach to software testing for the R language modelled after successful examples such as JUnit, CppUnit, and PerlUnit. The aim of our approach is to facilitate development of reliable software packages and provide a set of tools to analyse and report the software quality status. The presented framework is completely implemented within R and does not rely on external tools or other language systems. The basic principle is that every function or method is accompanied with a test case that queries many calling situations including incorrect invocations. A test case can be executed instantly without reinstalling the whole package a feature that is necessary for parallel development of functionality and test cases. On a second level one or more packages can be tested in a single test run, the result of which is reported in an well structured test protocol. To
منابع مشابه
Flexible Scheduling of Active Distribution Networks for Market Participation with Considering DGs Availability
The availability of sufficient and economic online capacity to support the network while encountering disturbances and failures leading to supply and demand imbalance has a crucial role in today distribution networks with high share of Distributed Energy Resources (DERs), especially Renewable Energy Resources (RESs). This paper proposes a two-stage decision making framework for the Distribution...
متن کاملPackage 'asset' Title an R Package for Subset-based Association Analysis of Heterogeneous Traits and Subtypes
November 20, 2016 Title An R package for subset-based association analysis of heterogeneous traits and subtypes Version 1.12.0 Date 2015-06-01 Author Samsiddhi Bhattacharjee, Nilanjan Chatterjee and William Wheeler Description An R package for subset-based analysis of heterogeneous traits and subtypes. Maintainer William Wheeler Depends MASS, msm, rmeta, mvtnorm, tmvnsim S...
متن کاملPackage ‘ ASSET ’
January 14, 2017 Title An R package for subset-based association analysis of heterogeneous traits and subtypes Version 1.12.0 Date 2015-06-01 Author Samsiddhi Bhattacharjee, Nilanjan Chatterjee and William Wheeler Description An R package for subset-based analysis of heterogeneous traits and subtypes. Maintainer William Wheeler Depends MASS, msm, rmeta, mvtnorm, tmvnsim Su...
متن کاملPackage ‘ SANTA ’ August 3 , 2013
August 3, 2013 Type Package Title Spatial Analysis of Network Associations Version 1.1.0 Date 24 March 2013 Author Alex Cornish and Florian Markowetz Maintainer Alex Cornish Imports msm Depends R (>= 2.14), igraph, snow Suggests RUnit, BiocGenerics, org.Sc.sgd.db Description This package provides methods for measuring the strength of association between a network an...
متن کاملPackage ‘ ASSET ’ March 28 , 2017
March 28, 2017 Title An R package for subset-based association analysis of heterogeneous traits and subtypes Version 1.12.0 Date 2015-06-01 Author Samsiddhi Bhattacharjee, Nilanjan Chatterjee and William Wheeler Description An R package for subset-based analysis of heterogeneous traits and subtypes. Maintainer William Wheeler Depends MASS, msm, rmeta, mvtnorm, tmvnsim Sugg...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2009